import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/custbaseinf',
    name: 'custbaseinf',
    meta: "客户列表",
    component: () => import('@/views/customer/index.vue'),
  },
  {
    path: '/custView',
    name: 'custView',
    meta: "客户视图",
    component: () => import('@/views/customer/custView/CustView.vue'),
  },
  {
    path: '/addCust',
    name: 'addCust',
    meta: "新建客户",
    component: () => import('@/views/customer/CustomerAddIndex.vue'),
  },
  {
    path: '/custProvided',
    name: 'custProvided',
    meta: "客户信息填报",
    component: () => import('@/views/customer/CustProvided.vue'),
  },
  {
    path: '/customerGz',
    name: 'customerGz',
    meta: " 新建客户故障申告通知管理",
    component: () => import('@/views/customer/customer-child/CustomerGz.vue'),
  },
  {
    path: '/result',
    name: 'result',
    meta: "结果反馈",
    component: () => import('@/views/customer/customer-dialog/CustomerResult.vue'),
  },
  {
    path: '/customerZy',
    name: 'customerZy',
    meta: "争议单",
    component: () => import('@/views/customer/customer-child/CustomerZy.vue'),
  },
  {
    path: '/modifyBasicInfo',
    name: 'modifyBasicInfo',
    meta: "修改基本信息",
    component: () => import('@/views/customer/ModifyBasicInfo'),
  },
  {
    path: '/custContactInfo',
    name: 'custContactInfo',
    meta: "客户联系人信息",
    component: () => import('@/views/customer/CustContactInfo'),
  },
  {
    path: '/custExtensionInfo',
    name: 'custExtensionInfo',
    component: () => import('@/views/customer/CustExtensionInfo'),
  },
  {
    path: '/custCutoverInfo',
    name: 'custCutoverInfo',
    component: () => import('@/views/customer/CustCutoverInfo'),
  },
  //新建关键人信息页面
  {
    path: '/NewKeyPerson',
    name: 'NewKeyPerson',
    meta: "新建关键人信息",
    component: () => import('@/views/customer/customer-dialog/NewKeyPerson'),
  },
  //省客户关系维护页面
  {
    path: '/CustRelationMaintain',
    name: 'CustRelationMaintain',
    meta: "省客户关系维护",
    component: () => import('@/views/customer/CustRelationMaintain'),
  },
  //新建客户审核管理
  {
    path: '/addCustExamineManager',
    name: 'addCustExamineManager',
    meta: "新建客户审核管理",
    component: () => import('@/views/customer/custExamineManager/addCustExamineManager'),
  },
  //客户信息修改审核
  {
    path: '/EditCustExamineManager',
    name: 'EditCustExamineManager',
    meta: "客户信息修改审核",
    component: () => import('@/views/customer/custExamineManager/EditCustExamineManager'),
  },
  {
    path: '/upload',
    name: 'upload',
    meta: "测试上传",
    component: () => import('@/views/customer/custAccountManager/upload'),
  },
  //客户账务列表
  {
    path: '/custAccountManager',
    name: 'custAccountManager',
    meta: "新建客户账务管理 ",
    component: () => import('@/views/customer/custAccountManager/custAccountManager'),
  },
  //新建客户账务管理
  {
    path: '/addCustAccount',
    name: 'addCustAccount',
    meta: "新建客户账务管理 ",
    component: () => import('@/views/customer/custAccountManager/addCustAccount'),
  },
  //修改账户信息
  {
    path: '/editCustAccount',
    name: 'editCustAccount',
    meta: "修改账户信息 ",
    component: () => import('@/views/customer/custAccountManager/editCustAccount'),
  },
  //账户信息修改审核
  {
    path: '/custInfoEditExamine',
    name: 'custInfoEditExamine',
    meta: "账户信息修改审核",
    component: () => import('@/views/customer/custAccountManager/custInfoEditExamine'),
  },
  //管理对应省客户信息
  {
    path: '/custProManagerInfo',
    name: 'custProManagerInfo',
    meta: "管理对应省客户信息",
    component: () => import('@/views/customer/custAccountManager/custProManagerInfo'),
  },
  //甲乙端客户管理
  {
    path: '/abCustManage',
    name: 'abCustManage',
    meta: "甲乙端客户管理",
    component: () => import('@/views/customer/ABCustManage/ABCustManage'),
  },
  //甲乙端客户完善信息
  {
    path: '/perfectInformation',
    name: 'perfectInformation',
    meta: "甲乙端客户管理完善信息",
    component: () => import('@/views/customer/ABCustManage/perfectInformation'),
  },
  //查看脱敏信息日志
  {
    path: '/desensitizationLog',
    name: 'desensitizationLog',
    meta: "查看脱敏信息日志列表",
    component: () => import('@/views/customer/desensitizationLog/CesensitizationLog'),
  },
  //未合规用户
  {
    path: '/noCompliantCust',
    name: 'noCompliantCust',
    meta: "未合规用户",
    component: () => import('@/views/customer/NoCompliantCust/NoCompliantCust'),
  },
  //未合规用户批量查询
  {
    path: '/idenResultQuery',
    name: 'idenResultQuery',
    meta: "未合规用户批量查询",
    component: () => import('@/views/customer/NoCompliantCust/idenResultQuery'),
  },

]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router





